package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.supervision.dto.create.JzdxDepartCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxDepartResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxDepartUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxDepartEntity;

public interface JzdxDepartService extends IService<JzdxDepartEntity> {

    Boolean create(JzdxDepartCreateDTO dto);

    JzdxDepartResultDTO findByCode(String code);

    Boolean update(JzdxDepartUpdateDTO dto);

}